package com.tanhua.api.mongo;

import com.tanhua.domain.mongo.Friend;
import com.tanhua.domain.vo.PageBeanVo;

import java.util.List;

public interface FriendApi {
    //添加好友
    void contacts(Long MyId, Long userId);

    //查询好友列表
    PageBeanVo findContacts(Integer page, Integer pagesize, Long id);

    boolean isFriend(Long id, Long uid);

    void deleteFriend(Long id, Long uid);

}
